package cn.zwx.distributed.svc;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author zhangwenxye
 */
@EnableDubbo
@EnableDiscoveryClient
@SpringBootApplication
@EnableTransactionManagement
@MapperScan("cn.zwx.distributed.svc.mapper")
public class DistributedSvcApplication {

    public static final Logger logger = LoggerFactory.getLogger(DistributedSvcApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(DistributedSvcApplication.class, args);
        logger.info("DistributedSvcApplication 启动成功 !!");
    }



}

